package com.sinacom.ibuilding.dao.impl;

import java.util.Map;

import com.ibatis.dao.client.DaoManager;
import com.ibatis.dao.client.template.SqlMapDaoTemplate;
import com.sinacom.ibuilding.beans.IdCreate;
import com.sinacom.ibuilding.dao.iface.IdCreateDao;

public class IdCreateDaoImpl extends SqlMapDaoTemplate implements IdCreateDao{
	
	public IdCreateDaoImpl(DaoManager daoManager){
		super(daoManager);
	}

    public IdCreate get(Map map) {
        return (IdCreate) queryForObject("getIdCreateByName", map);
    }

    public void update(IdCreate idCreate) {
        update("updateIdCreate", idCreate);
    }

	
	
	
}
